<template>
  <div class="tablePageWarp">
    <div class="commonTableSty">
      <s-table
        class="h100"
        ref="table"
        :columns="columns"
        :data="loadData"
        :pagination="false"
        :scrollX="900"
        rowKey="ecuModuleId"
        size="default" >
        <template slot="operation" slot-scope="text, record">
          <a-button
            type="primary"
            :ghost="true"
            size="small"
          >{{ $t('下载请求参数日志') }}</a-button>
        </template>
      </s-table>
    </div>
  </div>
</template>
<script>
import { STable } from '@/components'
import AuthButton from '@/components/AuthButton'
export default {
  components: {
    STable,
    AuthButton
  },
  computed: {},
  created () {
  },
  data () {
    const upgradeInfoColumns = [
      {
        title: this.$t('升级阶段'),
        dataIndex: 'xxx',
        scopedSlots: { customRender: 'xxx' },
        width: 140
      },
      {
        title: this.$t('升级包类型'),
        dataIndex: 'xxx',
        scopedSlots: { customRender: 'xxx' },
        width: 140
      },
      {
        title: this.$t('升级状态'),
        dataIndex: 'xxx',
        scopedSlots: { customRender: 'xxx' },
        width: 140
      },
      {
        title: this.$t('升级耗时'),
        dataIndex: 'xxx',
        scopedSlots: { customRender: 'xxx' },
        width: 140
      },
      {
        title: this.$t('描述'),
        dataIndex: 'xxx',
        scopedSlots: { customRender: 'xxx' },
        width: 140
      },
      {
        title: this.$t('上报时间'),
        dataIndex: 'xxx',
        scopedSlots: { customRender: 'xxx' },
        width: 140
      },
      {
        title: this.$t('operation'),
        dataIndex: 'operation',
        fixed: 'right',
        scopedSlots: { customRender: 'operation' },
        width: 100
      }
    ]
    return {
      columns: upgradeInfoColumns
    }
  },
  methods: {
  }
}
</script>
<style scoped lang="less">
.largeVersionPopup {}
</style>
